/**
 * <p>
 * 版权所有：中企动力
 * </p>
 * <p>
 * 未经本公司许可，不得以任何方式复制或使用本程序任何部分
 * </p>
 */
package com.ce.pms.report.vo;

import java.util.Date;

/**
 * 
 * 报表基类
 * 
 * @author <a href="mailto:i0o@live.cn">黄腾飞</a>
 * @Created 2008-10-28
 */

public abstract class BaseReportVo implements java.io.Serializable {
	private Date	printDate;

	private String	reportHeadStr;

	/**
	 * 物业名称
	 */
	private String	companyName;

	/**
	 * 大楼名称
	 */
	private String	buildingName;

	/**
	 * 房号
	 */
	private String	houseNumber;

	/**
	 * 房号
	 * 
	 * @return the houseNumber
	 */
	public String getHouseNumber() {
		return houseNumber;
	}

	/**
	 * 房号
	 * 
	 * @param houseNumber the houseNumber to set
	 */
	public void setHouseNumber(String houseNumber) {
		this.houseNumber = houseNumber;
	}

	/**
	 * 客户名称
	 */
	private String	userName;

	/**
	 * 物业名称
	 * 
	 * @return the companyName
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * 物业名称
	 * 
	 * @param companyName the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * 大楼名称
	 * 
	 * @return the buildingName
	 */
	public String getBuildingName() {
		return buildingName;
	}

	/**
	 * 大楼名称
	 * 
	 * @param buildingName the buildingName to set
	 */
	public void setBuildingName(String buildingName) {
		this.buildingName = buildingName;
	}

	/**
	 * 客户名称
	 * 
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * 客户名称
	 * 
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * 获取打印日期
	 * 
	 * @return the printDate
	 */
	public Date getPrintDate() {
		if (printDate == null) {
			return new Date(System.currentTimeMillis());
		} else {
			return printDate;
		}
	}

	/**
	 * 设置打印日期
	 * 
	 * @param printDate the printDate to set
	 */
	public void setPrintDate(Date printDate) {
		this.printDate = printDate;
	}

	/**
	 * 获取报表头信息
	 * 
	 * @return the reportHeadStr
	 */
	public String getReportHeadStr() {
		return reportHeadStr;
	}

	/**
	 * 设置报表头信息
	 * 
	 * @param reportHeadStr the reportHeadStr to set
	 */
	public void setReportHeadStr(String reportHeadStr) {
		this.reportHeadStr = reportHeadStr;
	}

}
